package com.campsys.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.omg.CORBA.LongHolder;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class TCourse {

  @TableId(type = IdType.AUTO)
  private Long id;
  private String courseName;
  @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
  @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
  @TableField(fill = FieldFill.INSERT)
  private Date createdTime;
  private String status;
  private Long activityId;
  private Long teacherId;
  private Long classId;


}
